package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Spring Boot主应用类
 * 对比C#的Program.cs
 */
@SpringBootApplication
public class Application {
    
    public static void main(String[] args) {
        System.out.println("=== 启动Java基础学习示例应用 ===");
        SpringApplication.run(Application.class, args);
        System.out.println("应用已启动，访问 http://localhost:8080");
        System.out.println("API文档: http://localhost:8080/api/users");
    }
} 